package Event;

public class Event {
	 protected long ID;
	protected String type;
	protected String content;
	
	public Event(long anId, String aType, String aContent)
        {
                super();
                
                ID = anId;
                if(aType!=null)
                        type = aType;
                else
                        type = new String();
                
                if(aContent!=null)
                        content = aContent;
                else
                        content = new String();
        }
        
        public long getId()
        {
                return this.ID;
        }
        
        public String getType()
        {
                return this.type;
        }
        
        public String getContent()
        {
                return this.content;
        }
        
        public void setId(long newId)
        {
                ID = newId;
        }
        
        public void setType(String newType)
        {
                type = new String(newType);
        }
        
        public void setContent(String newContent)
        {
                content = new String(newContent);
        }
}
